import React, { Component } from "react";

class Hello extends Component {
  render() {
    // this.refs.inputRef => input 元素
    return (
      <div className="hello">
        <h1>Hello</h1>
        <input type="text" ref="inputRef" />
      </div>
    );
  }
}

export default Hello;
